package net.mingsoft.basic.entity;

import net.mingsoft.base.entity.*;
import com.fasterxml.jackson.annotation.*;
import com.baomidou.mybatisplus.annotation.*;

@TableName("city")
public class CityEntity extends BaseEntity
{
    private static final long serialVersionUID = 1501138049606L;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long provinceId;
    private String provinceName;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long cityId;
    private String cityName;
    @TableField(exist = false)
    private String cityPy;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long countyId;
    private String countyName;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long townId;
    private String townName;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long villageId;
    private String villageName;
    
    public CityEntity() {
    }
    
    public CityEntity(final Long provinceId) {
        this.provinceId = provinceId;
    }
    
    public CityEntity(final Long provinceId, final String provinceName) {
        this.provinceId = provinceId;
        this.provinceName = provinceName;
    }
    
    public CityEntity(final Long provinceId, final String provinceName, final Long cityId) {
        this.provinceId = provinceId;
        this.provinceName = provinceName;
        this.cityId = cityId;
    }
    
    public CityEntity(final Long provinceId, final String provinceName, final Long cityId, final String cityName) {
        this.provinceId = provinceId;
        this.provinceName = provinceName;
        this.cityId = cityId;
        this.cityName = cityName;
    }
    
    public CityEntity(final Long provinceId, final String provinceName, final Long cityId, final String cityName, final Long countyId) {
        this.provinceId = provinceId;
        this.provinceName = provinceName;
        this.cityId = cityId;
        this.cityName = cityName;
        this.countyId = countyId;
    }
    
    public CityEntity(final Long provinceId, final String provinceName, final Long cityId, final String cityName, final Long countyId, final String countyName) {
        this.provinceId = provinceId;
        this.provinceName = provinceName;
        this.cityId = cityId;
        this.cityName = cityName;
        this.countyId = countyId;
        this.countyName = countyName;
    }
    
    public CityEntity(final Long provinceId, final String provinceName, final Long cityId, final String cityName, final Long countyId, final String countyName, final Long townId) {
        this.provinceId = provinceId;
        this.provinceName = provinceName;
        this.cityId = cityId;
        this.cityName = cityName;
        this.countyId = countyId;
        this.countyName = countyName;
        this.townId = townId;
    }
    
    public CityEntity(final Long provinceId, final String provinceName, final Long cityId, final String cityName, final Long countyId, final String countyName, final Long townId, final String townName) {
        this.provinceId = provinceId;
        this.provinceName = provinceName;
        this.cityId = cityId;
        this.cityName = cityName;
        this.countyId = countyId;
        this.countyName = countyName;
        this.townId = townId;
        this.townName = townName;
    }
    
    public CityEntity(final Long provinceId, final String provinceName, final Long cityId, final String cityName, final Long countyId, final String countyName, final Long townId, final String townName, final Long villageId) {
        this.provinceId = provinceId;
        this.provinceName = provinceName;
        this.cityId = cityId;
        this.cityName = cityName;
        this.countyId = countyId;
        this.countyName = countyName;
        this.townId = townId;
        this.townName = townName;
        this.villageId = villageId;
    }
    
    public CityEntity(final Long provinceId, final String provinceName, final Long cityId, final String cityName, final Long countyId, final String countyName, final Long townId, final String townName, final Long villageId, final String villageName) {
        this.provinceId = provinceId;
        this.provinceName = provinceName;
        this.cityId = cityId;
        this.cityName = cityName;
        this.countyId = countyId;
        this.countyName = countyName;
        this.townId = townId;
        this.townName = townName;
        this.villageId = villageId;
        this.villageName = villageName;
    }
    
    public void setProvinceId(final Long provinceId) {
        this.provinceId = provinceId;
    }
    
    public Long getProvinceId() {
        return this.provinceId;
    }
    
    public void setProvinceName(final String provinceName) {
        this.provinceName = provinceName;
    }
    
    public String getProvinceName() {
        return this.provinceName;
    }
    
    public void setCityId(final Long cityId) {
        this.cityId = cityId;
    }
    
    public Long getCityId() {
        return this.cityId;
    }
    
    public void setCityName(final String cityName) {
        this.cityName = cityName;
    }
    
    public String getCityName() {
        return this.cityName;
    }
    
    public void setCountyId(final Long countyId) {
        this.countyId = countyId;
    }
    
    public Long getCountyId() {
        return this.countyId;
    }
    
    public void setCountyName(final String countyName) {
        this.countyName = countyName;
    }
    
    public String getCountyName() {
        return this.countyName;
    }
    
    public void setTownId(final Long townId) {
        this.townId = townId;
    }
    
    public Long getTownId() {
        return this.townId;
    }
    
    public void setTownName(final String townName) {
        this.townName = townName;
    }
    
    public String getTownName() {
        return this.townName;
    }
    
    public void setVillageId(final Long villageId) {
        this.villageId = villageId;
    }
    
    public Long getVillageId() {
        return this.villageId;
    }
    
    public void setVillageName(final String villageName) {
        this.villageName = villageName;
    }
    
    public String getVillageName() {
        return this.villageName;
    }
    
    public String getCityPy() {
        return this.cityPy;
    }
    
    public void setCityPy(final String cityPy) {
        this.cityPy = cityPy;
    }
}
